Payment Initiation APIs

(1 review)

Payment Consents Examples

This section provides examples of requests and responses for the individual Payment Consents APIs:

Domestic Payment Consents APIs

POST request: domestic payment consents request

This API endpoint allows the PISP to ask an ASPSP to create a new domestic payment consent resource.The POST action indicates to the ASPSP that a domestic payment consent has been staged. At this point, the PSU may not have been identified by the ASPSP, and the request payload may not contain any information of the account that should be debited.

The endpoint allows the PISP to send a copy of the consent (between PSU and PISP) to the ASPSP for the PSU to authorise. The ASPSP creates the domestic payment consent resource and responds with a unique Consent ID to refer to the resource.

POST /domestic-payment-consents HTTP/1.1

curl -X POST \
 https://api-sandbox.bankofireland.com/1/api/open-banking/v3.1.8/pisp/domestic-payment-consents \
  -H 'Authorization: Bearer VS6VAWqqfI2sKOh4iuwgEgPPgduw' \
  -H 'Content-Type: application/json' \
  -H 'cache-control: no-cache' \
  -H 'x-fapi-customer-ip-address: 104.25.212.99' \
  -H 'x-fapi-auth-date': Sun, 10 Sep 2017 19:43:31 UTC' \
  -H 'x-fapi-interaction-id: 93bac548-d2de-4546-b106-880a5018460e' \
  -H 'x-idempotency-key: FRESCO.21302.GFX.20' \
  -H 'x-jws-signature: TGlmZSdzIGEgam91cm5leSBub3QgYSBkZXN0aW5hdGlvbiA=..T2ggZ29vZCBldmVuaW5nIG1yIHR5bGVyIGdvaW5nIGRvd24gPw==' \
  -d '{
  "Data": {
    "ReadRefundAccount": "Yes",
    "Initiation": {
      "InstructionIdentification": "ABDDCF",
      "EndToEndIdentification": "DEMO USER",
      "InstructedAmount": {
        "Amount": "300.00",
        "Currency": "EUR"
      },
      "CreditorAccount": {
        "SchemeName": "UK.OBIE.IBAN",
        "Identification": "IE40BOFI90123968920165",
        "Name": "Test user",
        "SecondaryIdentification": "TPP Provided Value"
      },
      "RemittanceInformation": {
        "Unstructured": "Internal ops code 5120101",
        "Reference": "FRESCO-101"
      }
    },
    "Authorisation": {
      "AuthorisationType": "Any",
    }
  },
  "Risk": {
    "PaymentContextCode": "EcommerceGoods",
    "MerchantCategoryCode": "5967",
    "MerchantCustomerIdentification": "053598653254",
    "DeliveryAddress": {
      "AddressLine": [
        "Flat 7",
        "Acacia Lodge"
      ],
      "StreetName": "AcaciaAvenue",
      "BuildingNumber": "27",
      "PostCode": "7U31 2ZZ",
      "TownName": "Sparsholt",
      "Country": "IE"
    }
  }
}'

Header parameters :

Parameter Example value Description
authorization Bearer yncA2hqqUbR8Wf86J3plfw2o5A4d The token obtained in step 1(Get access token).
x-jws-signature TGlmZSdzIGEgam91cm5leSBub3QgYSBkZXN0aW5hdGlvbiA=..T2ggZ29vZCBldmVuaW5nIG1yIHR5bGVyIGdvaW5nIGRvd24gPw== Header containing a detached JWS of the payload. Mandatory for requests that contain a payload. Please refer to the processes of generating one here.

POST response: domestic payment consents

HTTP/1.1 201 Created

x-jws-signature: eyJiNjQiOmZhbHNlLCJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCI6MTU0MzU1ODIwOSwiY3JpdCI6WyJiNjQsaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pYXQsaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pc3MiXSwia2lkIjoieGwxNkJEeHc1N0pOLTNQdHZybXlBLXpXVGdNIiwiY3R5IjoiYXBwbGljYXRpb25cL2pzb24iLCJ0eXAiOiJKT1NFIiwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pc3MiOiJDTj02ZGkyRGU4OHM4RDJ6VlhneXhtMGIyLE9VPVRlc3QgUEtJLE89T3BlbiBCYW5raW5nIExpbWl0ZWQsQz1HQiIsImFsZyI6IlJTMjU2In0..UzSO4Yw97FrpdpoxwOWqYPpi3kftH-wMclXXhh-2jpJc3hqPzQFkgyovr3uciTUGClY88DknV-ZwhyO3DJitboEX6su8K1REbLbtnX22EXmj1LIw9WYNYSmmf2D5TobHSzRvIsToUg-Tn2v7tl6asmjGYh1HUBF4JUUwgcrBiwlUBELNT_wlpXMe5lDpAcpDnXHYkvR2bZkcu995BEu31rCn4QppTxU7Aq82c0XuRsiOABuGExYbJWh55cSlVCBXt7ZKlGTf2ypXTFeeoDK48-ves6bOJYoTKQ8ywMkJf38tgtDsXdIpbwFT3rBTB6_N70F_DgM-dvCGj2jvS0PB9A
x-fapi-interaction-id: 93bac548-d2de-4546-b106-880a5018460e
Content-Type: application/json

{
    "Data": {
        "ConsentId": "c4cd37de-aa69-4fbe-83aa-198b807948d6",
        "CreationDateTime": "2019-02-06T10:24:02+00:00",
        "Status": "AwaitingAuthorisation",
        "StatusUpdateDateTime": "2019-02-06T10:24:02+00:00",
    "ReadRefundAccount": "Yes",
        "Initiation": {
            "InstructionIdentification": "ABDDCF",
            "EndToEndIdentification": "DEMO USER",
            "InstructedAmount": {
                "Amount": "300.00",
                "Currency": "EUR"
            },
            "CreditorAccount": {
                "SchemeName": "UK.OBIE.IBAN",
                "Identification": "IE40BOFI90123968920165",
                "Name": "Test user",
                "SecondaryIdentification": "TPP Provided Value"
            },
            "RemittanceInformation": {
                "Unstructured": "Internal ops code 5120101",
                "Reference": "FRESCO-101"
            }
        },
        "Authorisation": {
            "AuthorisationType": "Any",
        }
    },
    "Risk": {
        "PaymentContextCode": "EcommerceGoods",
        "MerchantCategoryCode": "5967",
        "MerchantCustomerIdentification": "053598653254",
        "DeliveryAddress": {
            "AddressLine": [
                "Flat 7",
                "Acacia Lodge"
            ],
            "StreetName": "AcaciaAvenue",
            "BuildingNumber": "27",
            "PostCode": "7U31 2ZZ",
            "TownName": "Sparsholt",
            "Country": "IE"
        }
    },
    "Links": {
        "Self": "https://api-sandbox.bankofireland.com/1/api/open-banking/v3.1.8/pisp/domestic-payment-consents/c4cd37de-aa69-4fbe-83aa-198b807948d6"
    },
    "Meta": {}
}

GET request: domestic payment consents

A PISP can optionally retrieve a payment consent resource that they have created to check its status. The available status codes for the domestic payment consent resource are:

Status Description
AwaitingAuthorisation Before the PSU authorises the payment-consent resource
Rejected If the PSU rejects the consent or the domestic-payment-consent has failed some other ASPSP validation
Authorised Once the PSU authorises the payment-consent resource
Consumed Once a domestic-payment has been successfully created using the domestic-payment-consent
GET /domestic-payment-consents/5d2b8ce5-681a-4679-a79a-e64ef1f99ab7 HTTP/1.1

curl -X GET \
  https://api-sandbox.bankofireland.com/1/api/open-banking/v3.1.8/pisp/domestic-payment-consents/c4cd37de-aa69-4fbe-83aa-198b807948d6 \
  -H 'Authorization: Bearer MSdQrRyLqftG6NbSfOdSGntgPeTQ' \
  -H 'Content-Type: application/json' \
  -H 'cache-control: no-cache' \
  -H 'x-fapi-customer-ip-address: 104.25.212.99' \
  -H 'x-fapi-auth-date': Sun, 10 Sep 2017 19:43:31 UTC'
  -H 'x-fapi-interaction-id: 93bac548-d2de-4546-b106-880a5018460e' \
  -H 'x-idempotency-key: FRESCO.21302.GFX.21 ' \

GET response: domestic payment consents

HTTP/1.1 200 OK
x-jws-signature: eyJiNjQiOmZhbHNlLCJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCI6MTU0MzU1ODU4MCwiY3JpdCI6WyJiNjQsaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pYXQsaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pc3MiXSwia2lkIjoieGwxNkJEeHc1N0pOLTNQdHZybXlBLXpXVGdNIiwiY3R5IjoiYXBwbGljYXRpb25cL2pzb24iLCJ0eXAiOiJKT1NFIiwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pc3MiOiJDTj02ZGkyRGU4OHM4RDJ6VlhneXhtMGIyLE9VPVRlc3QgUEtJLE89T3BlbiBCYW5raW5nIExpbWl0ZWQsQz1HQiIsImFsZyI6IlJTMjU2In0..S9-ZingkHVC0WgDujBxQmztpuI-Fbr-qCYZU7iqGuYWADXMDPhP4_XO_tb5geTGdAT6JADDM9LaOG0J038ax1nPvT0MZMKYJ7mW7eiX8ZKtcwPWFMVlJLvYhG0lYSEJwNcuV0nkQQjVeqeCjiLM8CqkTmfVgdOdayAQgGgMEkxGRKsvX3ED8JWmqHuiiDlH-jrMjK-YtLf_QlUHV_WN-mHSywXJIJHpZFLMUO2bL59QgMcyIl5UuGJBPQCmpvAEGcHQSKGbOIJfJCAYyZREhs9ZoLbqIClJ7eUAbZO8h70u6aah2_pb0pv-b-yDSODb_Twot6_phQ-zOJI32RK87yg
x-fapi-interaction-id: 93bac548-d2de-4546-b106-880a5018460e
Content-Type: application/json
{
    "Data": {
        "ConsentId": "c4cd37de-aa69-4fbe-83aa-198b807948d6",
        "CreationDateTime": "2019-02-06T10:24:02+00:00",
        "Status": "AwaitingAuthorisation",
        "StatusUpdateDateTime": "2019-02-06T10:24:02+00:00",
        "ReadRefundAccount": "Yes",
        "Initiation": {
            "InstructionIdentification": "ABDDCF",
            "EndToEndIdentification": "DEMO USER",
            "InstructedAmount": {
                "Amount": "300.00",
                "Currency": "EUR"
            },
            "CreditorAccount": {
                "SchemeName": "UK.OBIE.IBAN",
                "Identification": "IE40BOFI90123968920165",
                "Name": "Test user",
                "SecondaryIdentification": "TPP Provided Value"
            },
            "RemittanceInformation": {
                "Unstructured": "Internal ops code 5120101",
                "Reference": "FRESCO-101"
            }
        },
        "Authorisation": {
            "AuthorisationType": "Any",
        }
    },
    "Risk": {
        "PaymentContextCode": "EcommerceGoods",
        "MerchantCategoryCode": "5967",
        "MerchantCustomerIdentification": "053598653254",
        "DeliveryAddress": {
            "AddressLine": [
                "Flat 7",
                "Acacia Lodge"
            ],
            "StreetName": "AcaciaAvenue",
            "BuildingNumber": "27",
            "PostCode": "7U31 2ZZ",
            "TownName": "Sparsholt",
            "Country": "IE"
        }
    },
    "Links": {
        "Self": "https://api-sandbox.bankofireland.com/1/api/open-banking/v3.1.8/pisp/domestic-payment-consents/c4cd37de-aa69-4fbe-83aa-198b807948d6"
    },
    "Meta": {}
}

Get Request: Confirm Funds on Domestic Payment Order Consent

GET /domestic-payment-consents/58923/funds-confirmation HTTP/1.1
Authorization: Bearer Jhingapulaav
x-fapi-auth-date: Sun, 10 Sep 2017 19:43:31 GMT
x-fapi-customer-ip-address: 104.25.212.99
x-fapi-interaction-id: 93bac548-d2de-4546-b106-880a5018460d
Accept: application/json

Get Response: Confirm Funds on Domestic Payment Order Consent

HTTP/1.1 200 OK
x-jws-signature: V2hhdCB3ZSBnb3QgaGVyZQ0K..aXMgZmFpbHVyZSB0byBjb21tdW5pY2F0ZQ0K
x-fapi-interaction-id: 93bac548-d2de-4546-b106-880a5018460d
Content-Type: application/json
{
    "Data": {
        "FundsAvailableResult": {
            "FundsAvailableDateTime": "2017-06-05T15:15:23+00:00",
            "FundsAvailable": true
        }
    },
    "Links": {
        "Self": "https://api.alphabank.com/open-banking/v3.1/pisp/domestic-payment-consents/58923/funds-confirmation"
    },
    "Meta": {}
}

Domestic Payment Consents (CHAPS Payment) APIs

POST request: CHAPS domestic payment consents request

POST /domestic-payment-consents HTTP/1.1

curl -X POST \
 https://api-sandbox.bankofireland.com/1/api/open-banking/v3.1.8/pisp/domestic-payment-consents \
  -H 'Authorization: Bearer VS6VAWqqfI2sKOh4iuwgEgPPgduw' \
  -H 'Content-Type: application/json' \
  -H 'x-fapi-customer-ip-address: 104.25.212.99' \
  -H 'x-fapi-auth-date': Sun, 10 Sep 2017 19:43:31 UTC' \
  -H 'x-fapi-interaction-id: 93bac548-d2de-4546-b106-880a5018460e' \
  -H 'x-idempotency-key: FRESCO.21302.GFX.20' \
  -H 'x-jws-signature: TGlmZSdzIGEgam91cm5leSBub3QgYSBkZXN0aW5hdGlvbiA=..T2ggZ29vZCBldmVuaW5nIG1yIHR5bGVyIGdvaW5nIGRvd24gPw==' \
  -d '{
  "Data": {
    "ReadRefundAccount": "Yes",
    "Initiation": {
      "InstructionIdentification": "ABDDCF",
      "EndToEndIdentification": "DEMO USER",
    "LocalInstrument": "UK.OBIE.CHAPS",
      "InstructedAmount": {
        "Amount": "300.00",
        "Currency": "GBP"
      },
      "CreditorAccount": {
        "SchemeName": "UK.OBIE.SortCodeAccountNumber",
        "Identification": "08080021325698",
        "Name": "Test user",
        "SecondaryIdentification": "TPP Provided Value"
      },
      "RemittanceInformation": {
        "Unstructured": "Internal ops code 5120101",
        "Reference": "FRESCO-101"
      }
    },
    "Authorisation": {
      "AuthorisationType": "Any",
    }
  },
  "Risk": {
    "PaymentContextCode": "EcommerceGoods",
    "MerchantCategoryCode": "5967",
    "MerchantCustomerIdentification": "053598653254",
    "DeliveryAddress": {
      "AddressLine": [
        "Flat 7",
        "Acacia Lodge"
      ],
      "StreetName": "AcaciaAvenue",
      "BuildingNumber": "27",
      "PostCode": "7U31 2ZZ",
      "TownName": "Sparsholt",
      "Country": "IE"
    }
  }
}'

POST Response: CHAPS domestic payment consent

HTTP/1.1 201 Created

x-jws-signature: eyJiNjQiOmZhbHNlLCJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCI6MTU0MzU1ODIwOSwiY3JpdCI6WyJiNjQsaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pYXQsaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pc3MiXSwia2lkIjoieGwxNkJEeHc1N0pOLTNQdHZybXlBLXpXVGdNIiwiY3R5IjoiYXBwbGljYXRpb25cL2pzb24iLCJ0eXAiOiJKT1NFIiwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pc3MiOiJDTj02ZGkyRGU4OHM4RDJ6VlhneXhtMGIyLE9VPVRlc3QgUEtJLE89T3BlbiBCYW5raW5nIExpbWl0ZWQsQz1HQiIsImFsZyI6IlJTMjU2In0..UzSO4Yw97FrpdpoxwOWqYPpi3kftH-wMclXXhh-2jpJc3hqPzQFkgyovr3uciTUGClY88DknV-ZwhyO3DJitboEX6su8K1REbLbtnX22EXmj1LIw9WYNYSmmf2D5TobHSzRvIsToUg-Tn2v7tl6asmjGYh1HUBF4JUUwgcrBiwlUBELNT_wlpXMe5lDpAcpDnXHYkvR2bZkcu995BEu31rCn4QppTxU7Aq82c0XuRsiOABuGExYbJWh55cSlVCBXt7ZKlGTf2ypXTFeeoDK48-ves6bOJYoTKQ8ywMkJf38tgtDsXdIpbwFT3rBTB6_N70F_DgM-dvCGj2jvS0PB9A
x-fapi-interaction-id: 93bac548-d2de-4546-b106-880a5018460e
Content-Type: application/json

{
    "Data": {
        "ConsentId": "c4cd37de-aa69-4fbe-83aa-198b807948d6",
        "CreationDateTime": "2019-02-06T10:24:02+00:00",
        "Status": "AwaitingAuthorisation",
        "StatusUpdateDateTime": "2019-02-06T10:24:02+00:00",
        "ReadRefundAccount": "Yes",
        "Initiation": {
            "InstructionIdentification": "ABDDCF",
            "EndToEndIdentification": "DEMO USER",
    "LocalInstrument": "UK.OBIE.CHAPS",
            "InstructedAmount": {
                "Amount": "300.00",
                "Currency": "GBP"
            },
            "CreditorAccount": {
                "SchemeName": "UK.OBIE.SortCodeAccountNumber",
                "Identification": "08080021325698",
                "Name": "Test user",
                "SecondaryIdentification": "TPP Provided Value"
            },
            "RemittanceInformation": {
                "Unstructured": "Internal ops code 5120101",
                "Reference": "FRESCO-101"
            }
        },
        "Authorisation": {
            "AuthorisationType": "Any",
        }
    },
    "Risk": {
        "PaymentContextCode": "EcommerceGoods",
        "MerchantCategoryCode": "5967",
        "MerchantCustomerIdentification": "053598653254",
        "DeliveryAddress": {
            "AddressLine": [
                "Flat 7",
                "Acacia Lodge"
            ],
            "StreetName": "AcaciaAvenue",
            "BuildingNumber": "27",
            "PostCode": "7U31 2ZZ",
            "TownName": "Sparsholt",
            "Country": "IE"
        }
    },
    "Links": {
        "Self": "https://api-sandbox.bankofireland.com/1/api/open-banking/v3.1.8/pisp/domestic-payment-consents/c4cd37de-aa69-4fbe-83aa-198b807948d6"
    },
    "Meta": {}
}

Domestic Payment Consents (SDMT Payment) APIs

POST request: SDMT domestic payment consents request

POST /domestic-payment-consents HTTP/1.1
curl -X POST \
 https://api-sandbox.bankofireland.com/1/api/open-banking/v3.1.8/pisp/domestic-payment-consents \
  -H 'Authorization: Bearer VS6VAWqqfI2sKOh4iuwgEgPPgduw' \
  -H 'Content-Type: application/json' \
  -H 'x-fapi-customer-ip-address: 104.25.212.99' \
  -H 'x-fapi-auth-date': Sun, 10 Sep 2017 19:43:31 UTC' \
  -H 'x-fapi-interaction-id: 93bac548-d2de-4546-b106-880a5018460e' \
  -H 'x-idempotency-key: FRESCO.21302.GFX.20' \
  -H 'x-jws-signature: TGlmZSdzIGEgam91cm5leSBub3QgYSBkZXN0aW5hdGlvbiA=..T2ggZ29vZCBldmVuaW5nIG1yIHR5bGVyIGdvaW5nIGRvd24gPw==' \
  -d '{
    "Data": {
        "ReadRefundAccount": "Yes",
        "Initiation": {
            "InstructionIdentification": "ABDDCF",
            "EndToEndIdentification": "DEMO USER",
            "LocalInstrument": "UK.OBIE.Target2",
            "InstructedAmount": {
                "Amount": "300.00",
                "Currency": "EUR"
            },
            "CreditorAccount": {
                "SchemeName": "UK.OBIE.IBAN",
                "Identification": "IE43BOFI90159797017815",
                "Name": "Test user",
                "SecondaryIdentification": "TPP Provided Value"
            },
            "RemittanceInformation": {
                "Unstructured": "Internal ops code 5120101",
                "Reference": "FRESCO-101"
            }
        },
        "Authorisation": {
            "AuthorisationType": "Any"
        }
    },
    "Risk": {
        "PaymentContextCode": "EcommerceGoods",
        "MerchantCategoryCode": "5967",
        "MerchantCustomerIdentification": "053598653254",
        "DeliveryAddress": {
            "AddressLine": [
                "Flat 7",
                "Acacia Lodge"
            ],
            "StreetName": "AcaciaAvenue",
            "BuildingNumber": "27",
            "PostCode": "7U31 2ZZ",
            "TownName": "Sparsholt",
            "Country": "IE"
        }
    }
}

POST response: SDMT domestic payment consents

HTTP/1.1 201 Created

x-jws-signature: eyJiNjQiOmZhbHNlLCJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCI6MTU0MzU1ODIwOSwiY3JpdCI6WyJiNjQsaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pYXQsaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pc3MiXSwia2lkIjoieGwxNkJEeHc1N0pOLTNQdHZybXlBLXpXVGdNIiwiY3R5IjoiYXBwbGljYXRpb25cL2pzb24iLCJ0eXAiOiJKT1NFIiwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pc3MiOiJDTj02ZGkyRGU4OHM4RDJ6VlhneXhtMGIyLE9VPVRlc3QgUEtJLE89T3BlbiBCYW5raW5nIExpbWl0ZWQsQz1HQiIsImFsZyI6IlJTMjU2In0..UzSO4Yw97FrpdpoxwOWqYPpi3kftH-wMclXXhh-2jpJc3hqPzQFkgyovr3uciTUGClY88DknV-ZwhyO3DJitboEX6su8K1REbLbtnX22EXmj1LIw9WYNYSmmf2D5TobHSzRvIsToUg-Tn2v7tl6asmjGYh1HUBF4JUUwgcrBiwlUBELNT_wlpXMe5lDpAcpDnXHYkvR2bZkcu995BEu31rCn4QppTxU7Aq82c0XuRsiOABuGExYbJWh55cSlVCBXt7ZKlGTf2ypXTFeeoDK48-ves6bOJYoTKQ8ywMkJf38tgtDsXdIpbwFT3rBTB6_N70F_DgM-dvCGj2jvS0PB9A
x-fapi-interaction-id: 93bac548-d2de-4546-b106-880a5018460e
Content-Type: application/json

{
    "Data": {
        "ConsentId": "b1ffb429-a861-40c5-9787-49947857c992",
        "CreationDateTime": "2023-05-10T15:05:42+05:30",
        "Status": "AwaitingAuthorisation",
        "StatusUpdateDateTime": "2023-05-10T15:05:42+05:30",
        "ReadRefundAccount": "Yes",
        "CutOffDateTime": "2023-05-13T15:05:42+05:30",
        "ExpectedExecutionDateTime": "2023-05-11T15:05:42+05:30",
        "ExpectedSettlementDateTime": "2023-05-12T15:05:42+05:30",
        "Initiation": {
            "InstructionIdentification": "ABDDCF",
            "EndToEndIdentification": "DEMO USER",
            "LocalInstrument": "UK.OBIE.Target2",
            "InstructedAmount": {
                "Amount": "300.00",
                "Currency": "EUR"
            },
            "CreditorAccount": {
                "SchemeName": "UK.OBIE.IBAN",
                "Identification": "IE43BOFI90159797017815",
                "Name": "Test user",
                "SecondaryIdentification": "TPP Provided Value"
            },
            "RemittanceInformation": {
                "Unstructured": "Internal ops code 5120101",
                "Reference": "FRESCO-101"
            }
        },
        "Authorisation": {
            "AuthorisationType": "Any"
        }
    },
    "Risk": {
        "PaymentContextCode": "EcommerceGoods",
        "MerchantCategoryCode": "5967",
        "MerchantCustomerIdentification": "053598653254",
        "DeliveryAddress": {
            "AddressLine": [
                "Flat 7",
                "Acacia Lodge"
            ],
            "StreetName": "AcaciaAvenue",
            "BuildingNumber": "27",
            "PostCode": "7U31 2ZZ",
            "TownName": "Sparsholt",
            "Country": "IE"
        }
    },
    "Links": {
        "Self": "https://api-sandbox.bankofireland.com/1/api/open-banking/v3.1/pisp/domestic-payment-consents/b1ffb429-a861-40c5-9787-49947857c992"
    },
    "Meta": {}
}
Domestic scheduled payment consents API

POST request: domestic scheduled payment consents

curl -X POST \
 https://api-sandbox.bankofireland.com/1/api/open-banking/v3.1.8/pisp/domestic-scheduled-payment-consents \
  -H 'Authorization: Bearer VS6VAWqqfI2sKOh4iuwgEgPPgduw' \
  -H 'Content-Type: application/json' \
  -H 'cache-control: no-cache' \
  -H 'x-fapi-customer-ip-address: 104.25.212.99' \
  -H 'x-fapi-auth-date': Sun, 10 Sep 2017 19:43:31 UTC'  \
  -H 'x-fapi-interaction-id: 93bac548-d2de-4546-b106-880a5018460e' \
  -H 'x-idempotency-key: FRESCO.21302.GFX.22' \
  -H 'x-jws-signature: TGlmZSdzIGEgam91cm5leSBub3QgYSBkZXN0aW5hdGlvbiA=..T2ggZ29vZCBldmVuaW5nIG1yIHR5bGVyIGdvaW5nIGRvd24gPw==' \
  -d '{
  "Data": {
    "Permission": "Create",
    "ReadRefundAccount": "Yes",
    "Initiation": {
      "InstructionIdentification": "abcdefghijklmnop",
      "EndToEndIdentification": "DEMO USER",
      "RequestedExecutionDateTime": "2019-05-01T19:00:00-05:00",
      "LocalInstrument": "UK.OBIE.FPS",
      "InstructedAmount": {
        "Amount": "710.33",
        "Currency": "EUR"
      },
      "CreditorAccount": {
        "SchemeName": "UK.OBIE.IBAN",
        "Identification": "IE40BOFI90123968920165",
        "Name": "Tom Kirkman"
      },
      "RemittanceInformation": {
        "Reference": "DSR-037qwertyuiotrye",
        "Unstructured": "Internal ops code 5120103"
      }
    }
  },
  "Risk": {
    "PaymentContextCode": "PartyToParty"
  }
}'

This API endpoint allows the PISP to ask BOI to create a new domestic scheduled payment consents resource and the API responds with a unique Consent ID to refer to the resource.

POST response:domestic scheduled payment consents

HTTP/1.1 201 Created

x-jws-signature: eyJiNjQiOmZhbHNlLCJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCI6MTU0MzU1ODIwOSwiY3JpdCI6WyJiNjQsaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pYXQsaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pc3MiXSwia2lkIjoieGwxNkJEeHc1N0pOLTNQdHZybXlBLXpXVGdNIiwiY3R5IjoiYXBwbGljYXRpb25cL2pzb24iLCJ0eXAiOiJKT1NFIiwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pc3MiOiJDTj02ZGkyRGU4OHM4RDJ6VlhneXhtMGIyLE9VPVRlc3QgUEtJLE89T3BlbiBCYW5raW5nIExpbWl0ZWQsQz1HQiIsImFsZyI6IlJTMjU2In0..UzSO4Yw97FrpdpoxwOWqYPpi3kftH-wMclXXhh-2jpJc3hqPzQFkgyovr3uciTUGClY88DknV-ZwhyO3DJitboEX6su8K1REbLbtnX22EXmj1LIw9WYNYSmmf2D5TobHSzRvIsToUg-Tn2v7tl6asmjGYh1HUBF4JUUwgcrBiwlUBELNT_wlpXMe5lDpAcpDnXHYkvR2bZkcu995BEu31rCn4QppTxU7Aq82c0XuRsiOABuGExYbJWh55cSlVCBXt7ZKlGTf2ypXTFeeoDK48-ves6bOJYoTKQ8ywMkJf38tgtDsXdIpbwFT3rBTB6_N70F_DgM-dvCGj2jvS0PB9A
x-fapi-interaction-id: 93bac548-d2de-4546-b106-880a5018460e
Content-Type: application/json

{
    "Data": {
        "ConsentId": "58f09fb4-e6a0-4897-953f-a5a0a927d7ea",
        "CreationDateTime": "2019-02-06T11:12:10+00:00",
        "Status": "AwaitingAuthorisation",
        "StatusUpdateDateTime": "2019-02-06T11:12:10+00:00",
        "Permission": "Create",
        "ReadRefundAccount": "Yes",
        "Initiation": {
            "InstructionIdentification": "abcdefghijklmnop",
            "EndToEndIdentification": "DEMO USER",
            "LocalInstrument": "UK.OBIE.FPS",
            "RequestedExecutionDateTime": "2019-05-01T19:00:00-05:00",
            "InstructedAmount": {
                "Amount": "710.33",
                "Currency": "EUR"
            },
            "CreditorAccount": {
                "SchemeName": "UK.OBIE.IBAN",
                "Identification": "IE40BOFI90123968920165",
                "Name": "Tom Kirkman"
            },
            "RemittanceInformation": {
                "Unstructured": "Internal ops code 5120103",
                "Reference": "DSR-037qwertyuiotrye"
            }
        }
    },
    "Risk": {
        "PaymentContextCode": "PartyToParty"
    },
    "Links": {
        "Self": "https://api-sandbox.bankofireland.com/1/api/open-banking/v3.1.8/pisp/domestic-scheduled-payment-consents/58f09fb4-e6a0-4897-953f-a5a0a927d7ea"
    },
    "Meta": {}
}

Domestic Schedule Payment consents (CHAPS Payment)API

POST request: CHAPS domestic scheduled payment consents

curl -X POST \
 https://api-sandbox.bankofireland.com/1/api/open-banking/v3.1.8/pisp/domestic-scheduled-payment-consents \
  -H 'Authorization: Bearer VS6VAWqqfI2sKOh4iuwgEgPPgduw' \
  -H 'Content-Type: application/json' \
  -H 'cache-control: no-cache' \
  -H 'x-fapi-customer-ip-address: 104.25.212.99' \
  -H 'x-fapi-auth-date': Sun, 10 Sep 2017 19:43:31 UTC'  \
  -H 'x-fapi-interaction-id: 93bac548-d2de-4546-b106-880a5018460e' \
  -H 'x-idempotency-key: FRESCO.21302.GFX.22' \
  -H 'x-jws-signature: TGlmZSdzIGEgam91cm5leSBub3QgYSBkZXN0aW5hdGlvbiA=..T2ggZ29vZCBldmVuaW5nIG1yIHR5bGVyIGdvaW5nIGRvd24gPw==' \
  -d '{
  "Data": {
    "Permission": "Create",
    "ReadRefundAccount": "Yes",
    "Initiation": {
      "InstructionIdentification": "abcdefghijklmnop",
      "EndToEndIdentification": "DEMO USER",
    "LocalInstrument": "UK.OBIE.CHAPS",

      "RequestedExecutionDateTime": "2019-05-01T19:00:00-05:00",
      "InstructedAmount": {
        "Amount": "710.33",
        "Currency": "GBP"
      },
      "CreditorAccount": {
                "SchemeName": "UK.OBIE.SortCodeAccountNumber",
                "Identification": "08080021325698",
        "Name": "Tom Kirkman"
      },
      "RemittanceInformation": {
        "Reference": "DSR-037qwertyuiotrye",
        "Unstructured": "Internal ops code 5120103"
      }
    }
    "Authorisation": {
      "AuthorisationType": "Any",
    }
 },
  "Risk": {
    "PaymentContextCode": "PartyToParty"
  }
}'

This API endpoint allows the PISP to ask BOI to create a new domestic scheduled payment consents resource and the API responds with a unique Consent ID to refer to the resource.

POST response: CHAPS domestic scheduled payment consents

HTTP/1.1 201 Created
x-jws-signature: eyJiNjQiOmZhbHNlLCJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCI6MTU0MzU1ODIwOSwiY3JpdCI6WyJiNjQsaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pYXQsaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pc3MiXSwia2lkIjoieGwxNkJEeHc1N0pOLTNQdHZybXlBLXpXVGdNIiwiY3R5IjoiYXBwbGljYXRpb25cL2pzb24iLCJ0eXAiOiJKT1NFIiwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pc3MiOiJDTj02ZGkyRGU4OHM4RDJ6VlhneXhtMGIyLE9VPVRlc3QgUEtJLE89T3BlbiBCYW5raW5nIExpbWl0ZWQsQz1HQiIsImFsZyI6IlJTMjU2In0..UzSO4Yw97FrpdpoxwOWqYPpi3kftH-wMclXXhh-2jpJc3hqPzQFkgyovr3uciTUGClY88DknV-ZwhyO3DJitboEX6su8K1REbLbtnX22EXmj1LIw9WYNYSmmf2D5TobHSzRvIsToUg-Tn2v7tl6asmjGYh1HUBF4JUUwgcrBiwlUBELNT_wlpXMe5lDpAcpDnXHYkvR2bZkcu995BEu31rCn4QppTxU7Aq82c0XuRsiOABuGExYbJWh55cSlVCBXt7ZKlGTf2ypXTFeeoDK48-ves6bOJYoTKQ8ywMkJf38tgtDsXdIpbwFT3rBTB6_N70F_DgM-dvCGj2jvS0PB9A
x-fapi-interaction-id: 93bac548-d2de-4546-b106-880a5018460e
Content-Type: application/json

{
    "Data": {
        "ConsentId": "58f09fb4-e6a0-4897-953f-a5a0a927d7ea",
        "CreationDateTime": "2019-02-06T11:12:10+00:00",
        "Status": "AwaitingAuthorisation",
        "StatusUpdateDateTime": "2019-02-06T11:12:10+00:00",
        "Permission": "Create",
        "ReadRefundAccount": "Yes",
        "Initiation": {
            "InstructionIdentification": "abcdefghijklmnop",
            "EndToEndIdentification": "DEMO USER",
    "LocalInstrument": "UK.OBIE.CHAPS",
            "RequestedExecutionDateTime": "2019-05-01T19:00:00-05:00",
            "InstructedAmount": {
                "Amount": "710.33",
                "Currency": "GBP"
            },
            "CreditorAccount": {
                "SchemeName": "UK.OBIE.SortCodeAccountNumber",
                "Identification": "08080021325698",
                "Name": "Tom Kirkman"
            },
            "RemittanceInformation": {
                "Unstructured": "Internal ops code 5120103",
                "Reference": "DSR-037qwertyuiotrye"
            }
        }
    "Authorisation": {
      "AuthorisationType": "Any",
    }
 },
    "Risk": {
        "PaymentContextCode": "PartyToParty"
    },
    "Links": {
        "Self": "https://api-sandbox.bankofireland.com/1/api/open-banking/v3.1.8/pisp/domestic-scheduled-payment-consents/58f09fb4-e6a0-4897-953f-a5a0a927d7ea"
    },
    "Meta": {}
}

Domestic Scheduled Payment consents (SDMT Payment) API

POST request: SDMT domestic scheduled payment consents

curl -X POST \
 https://api-sandbox.bankofireland.com/1/api/open-banking/v3.1.8/pisp/domestic-scheduled-payment-consents \
  -H 'Authorization: Bearer VS6VAWqqfI2sKOh4iuwgEgPPgduw' \
  -H 'Content-Type: application/json' \
  -H 'cache-control: no-cache' \
  -H 'x-fapi-customer-ip-address: 104.25.212.99' \
  -H 'x-fapi-auth-date': Sun, 10 Sep 2017 19:43:31 UTC' \
  -H 'x-fapi-interaction-id: 93bac548-d2de-4546-b106-880a5018460e' \
  -H 'x-idempotency-key: FRESCO.21302.GFX.22' \
  -H 'x-jws-signature: TGlmZSdzIGEgam91cm5leSBub3QgYSBkZXN0aW5hdGlvbiA=..T2ggZ29vZCBldmVuaW5nIG1yIHR5bGVyIGdvaW5nIGRvd24gPw==' \
  -d '{
    "Data": {
        "Permission": "Create",
        "ReadRefundAccount": "Yes",
        "Initiation": {
            "InstructionIdentification": "abcdefghijklmnop",
            "EndToEndIdentification": "DEMO USER",
            "LocalInstrument": "UK.OBIE.Target2",
            "RequestedExecutionDateTime": "2023-06-01T19:00:00-05:00",
            "InstructedAmount": {
                "Amount": "300.3",
                "Currency": "EUR"
            },
            "CreditorAccount": {
                "SchemeName": "UK.OBIE.IBAN",
                "Identification": "IE43BOFI90159797017815",
                "Name": "Tom Kirkman"
            },
            "RemittanceInformation": {
                "Reference": "DSR-037qwertyuiotrye",
                "Unstructured": "Internal ops code 5120103"
            }
        },
        "Authorisation": {
            "AuthorisationType": "Any"
        }
    },
    "Risk": {
        "PaymentContextCode": "PartyToParty"
    }
}

This API endpoint allows the PISP to ask BOI to create a new domestic scheduled payment consents resource and the API responds with a unique Consent ID to refer to the resource.

POST response: SDMT domestic scheduled payment consents

HTTP/1.1 201 Created
x-jws-signature: eyJiNjQiOmZhbHNlLCJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCI6MTU0MzU1ODIwOSwiY3JpdCI6WyJiNjQsaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pYXQsaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pc3MiXSwia2lkIjoieGwxNkJEeHc1N0pOLTNQdHZybXlBLXpXVGdNIiwiY3R5IjoiYXBwbGljYXRpb25cL2pzb24iLCJ0eXAiOiJKT1NFIiwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pc3MiOiJDTj02ZGkyRGU4OHM4RDJ6VlhneXhtMGIyLE9VPVRlc3QgUEtJLE89T3BlbiBCYW5raW5nIExpbWl0ZWQsQz1HQiIsImFsZyI6IlJTMjU2In0..UzSO4Yw97FrpdpoxwOWqYPpi3kftH-wMclXXhh-2jpJc3hqPzQFkgyovr3uciTUGClY88DknV-ZwhyO3DJitboEX6su8K1REbLbtnX22EXmj1LIw9WYNYSmmf2D5TobHSzRvIsToUg-Tn2v7tl6asmjGYh1HUBF4JUUwgcrBiwlUBELNT_wlpXMe5lDpAcpDnXHYkvR2bZkcu995BEu31rCn4QppTxU7Aq82c0XuRsiOABuGExYbJWh55cSlVCBXt7ZKlGTf2ypXTFeeoDK48-ves6bOJYoTKQ8ywMkJf38tgtDsXdIpbwFT3rBTB6_N70F_DgM-dvCGj2jvS0PB9A
x-fapi-interaction-id: 93bac548-d2de-4546-b106-880a5018460e
Content-Type: application/json

{
    "Data": {
        "ConsentId": "8de149b6-da20-4ec1-8309-965a732ed3c1",
        "CreationDateTime": "2023-05-10T15:26:24+05:30",
        "Status": "AwaitingAuthorisation",
        "StatusUpdateDateTime": "2023-05-10T15:26:24+05:30",
        "Permission": "Create",
        "ReadRefundAccount": "Yes",
        "CutOffDateTime": "2023-05-13T15:26:24+05:30",
        "ExpectedExecutionDateTime": "2023-05-11T15:26:24+05:30",
        "ExpectedSettlementDateTime": "2023-05-12T15:26:24+05:30",
        "Initiation": {
            "InstructionIdentification": "abcdefghijklmnop",
            "EndToEndIdentification": "DEMO USER",
            "LocalInstrument": "UK.OBIE.Target2",
            "RequestedExecutionDateTime": "2023-06-01T19:00:00-05:00",
            "InstructedAmount": {
                "Amount": "300.3",
                "Currency": "EUR"
            },
            "CreditorAccount": {
                "SchemeName": "UK.OBIE.IBAN",
                "Identification": "IE43BOFI90159797017815",
                "Name": "Tom Kirkman"
            },
            "RemittanceInformation": {
                "Unstructured": "Internal ops code 5120103",
                "Reference": "DSR-037qwertyuiotrye"
            }
        },
        "Authorisation": {
            "AuthorisationType": "Any"
        }
    },
    "Risk": {
        "PaymentContextCode": "PartyToParty"
    },
    "Links": {
        "Self": "https://api-sandbox.bankofireland.com/1/api/open-banking/v3.1/pisp/domestic-scheduled-payment-consents/8de149b6-da20-4ec1-8309-965a732ed3c1"
    },
    "Meta": {}
}

Domestic standing order consents API

POST request:domestic standing order consents

curl -X POST \
 https://api-sandbox.bankofireland.com/1/api/open-banking/v3.1.8/pisp/domestic-standing-order-consents \
  -H 'Authorization: Bearer VS6VAWqqfI2sKOh4iuwgEgPPgduw' \
  -H 'Content-Type: application/json' \
  -H 'cache-control: no-cache' \
  -H 'x-fapi-customer-ip-address: 104.25.212.99' \
  -H 'x-fapi-auth-date: Sun, 10 Sep 2017 19:43:31 UTC' \
  -H 'x-fapi-interaction-id: 93bac548-d2de-4546-b106-880a5018460e' \
  -H 'x-idempotency-key: FRESCO.21302.GFX.23' \
  -H 'x-jws-signature: TGlmZSdzIGEgam91cm5leSBub3QgYSBkZXN0aW5hdGlvbiA=..T2ggZ29vZCBldmVuaW5nIG1yIHR5bGVyIGdvaW5nIGRvd24gPw==' \
  -d '{
  "Data": {
    "Permission": "Create",
    "ReadRefundAccount": "Yes",
    "Initiation": {
      "Frequency": "IntrvlWkDay:01:03",
      "Reference": "3asdfaasg43534534653463",
      "FirstPaymentDateTime": "2019-03-01T06:06:06.777Z",
      "FirstPaymentAmount": {
        "Amount": "400.00",
        "Currency": "EUR"
      },
      "RecurringPaymentAmount": {
        "Amount": "400.00",
        "Currency": "EUR"
      },
      "FinalPaymentAmount": {
        "Amount": "400.00",
        "Currency": "EUR"
      },
      "CreditorAccount": {
        "SchemeName": "UK.OBIE.IBAN",
        "Identification": "IE40BOFI90123968920165",
        "Name": "Bob Clements",
        "SecondaryIdentification": "00e"
      }
    },
    "Authorisation": {
      "AuthorisationType": "Any",
      "CompletionDateTime": "2020-12-31T06:06:06.777Z"
    }
  },
  "Risk": {
    "PaymentContextCode": "EcommerceServices",
    "MerchantCategoryCode": "0122",
    "MerchantCustomerIdentification": "Test",
    "DeliveryAddress": {
      "AddressLine": [
        "Test",
        "Test"
      ],
      "StreetName": "Test2",
      "BuildingNumber": "8",
      "PostCode": "ABCDEF 123456&",
      "CountrySubDivision": "Testsubdivision",
      "TownName": "Townname6780",
      "Country": "IE"
    }
  }
}'

This API endpoint allows the PISP to ask BOI to create a new domestic standing order consents resource and the API responds with a unique Consent ID to refer to the resource.

POST response:domestic standing order consents

x-jws-signature: eyJiNjQiOmZhbHNlLCJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCI6MTU0MzU1ODU4MCwiY3JpdCI6WyJiNjQsaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pYXQsaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pc3MiXSwia2lkIjoieGwxNkJEeHc1N0pOLTNQdHZybXlBLXpXVGdNIiwiY3R5IjoiYXBwbGljYXRpb25cL2pzb24iLCJ0eXAiOiJKT1NFIiwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pc3MiOiJDTj02ZGkyRGU4OHM4RDJ6VlhneXhtMGIyLE9VPVRlc3QgUEtJLE89T3BlbiBCYW5raW5nIExpbWl0ZWQsQz1HQiIsImFsZyI6IlJTMjU2In0..S9-ZingkHVC0WgDujBxQmztpuI-Fbr-qCYZU7iqGuYWADXMDPhP4_XO_tb5geTGdAT6JADDM9LaOG0J038ax1nPvT0MZMKYJ7mW7eiX8ZKtcwPWFMVlJLvYhG0lYSEJwNcuV0nkQQjVeqeCjiLM8CqkTmfVgdOdayAQgGgMEkxGRKsvX3ED8JWmqHuiiDlH-jrMjK-YtLf_QlUHV_WN-mHSywXJIJHpZFLMUO2bL59QgMcyIl5UuGJBPQCmpvAEGcHQSKGbOIJfJCAYyZREhs9ZoLbqIClJ7eUAbZO8h70u6aah2_pb0pv-b-yDSODb_Twot6_phQ-zOJI32RK87yg
x-fapi-interaction-id: 93bac548-d2de-4546-b106-880a5018460e
Content-Type: application/json

{
    "Data": {
        "ConsentId": "85484c7e-0442-4b14-b50d-c85fbbd9c89a",
        "CreationDateTime": "2019-02-06T12:54:59+00:00",
        "Status": "AwaitingAuthorisation",
        "StatusUpdateDateTime": "2019-02-06T12:54:59+00:00",
        "Permission": "Create",
        "ReadRefundAccount": "Yes",
        "Initiation": {
            "Frequency": "IntrvlWkDay:01:03",
            "Reference": "3asdfaasg43534534653463",
            "FirstPaymentDateTime": "2019-03-01T06:06:06.777Z",
            "FirstPaymentAmount": {
                "Amount": "400.00",
                "Currency": "EUR"
            },
            "RecurringPaymentAmount": {
                "Amount": "400.00",
                "Currency": "EUR"
            },
            "FinalPaymentAmount": {
                "Amount": "400.00",
                "Currency": "EUR"
            },
            "CreditorAccount": {
                "SchemeName": "UK.OBIE.IBAN",
                "Identification": "IE40BOFI90123968920165",
                "Name": "Bob Clements",
                "SecondaryIdentification": "00e"
            }
        },
        "Authorisation": {
            "AuthorisationType": "Any",
            "CompletionDateTime": "2020-12-31T06:06:06.777Z"
        }
    },
    "Risk": {
        "PaymentContextCode": "EcommerceServices",
        "MerchantCategoryCode": "0122",
        "MerchantCustomerIdentification": "Test",
        "DeliveryAddress": {
            "AddressLine": [
                "Test",
                "Test"
            ],
            "StreetName": "Test2",
            "BuildingNumber": "8",
            "PostCode": "ABCDEF 123456&",
            "TownName": "Townname6780",
            "CountrySubDivision": "Testsubdivision",
            "Country": "IE"
        }
    },
    "Links": {
        "Self": "https://api-sandbox.bankofireland.com/1/api/open-banking/v3.1.8/pisp/domestic-standing-order-consents/85484c7e-0442-4b14-b50d-c85fbbd9c89a"
    },
    "Meta": {}
}

International payment consents APIs

The following examples are for B365 customers. For Business On Line users, please see the example under International Scheduled Payment Consent.

POST request:international payment consents

This API endpoint allows the PISP to ask an ASPSP to create a new international payment consent resource.The POST action indicates to the ASPSP that an international payment consent has been staged. At this point, the PSU may not have been identified by the ASPSP, and the request payload may not contain any information of the account that should be debited.

The endpoint allows the PISP to send a copy of the consent (between PSU and PISP) to the ASPSP for the PSU to authorise. The ASPSP creates the international payment consent resource and responds with a unique Consent ID to refer to the resource. Note - The ExchangeRate and Charges block under Data block will be returned only if the Consent Status is "Authorised" or "Consumed".

POST /international-payment-consents HTTP/1.1

curl -X POST \
  https://api-sandbox.bankofireland.com/1/api/open-banking/v3.1.8/pisp/international-payment-consents \
  -H 'Authorization: Bearer JDosEEzJE0sJ15Wi01PEBJQGYpaB' \
  -H 'Content-Type: application/json' \
  -H 'x-fapi-customer-ip-address: 104.25.212.99' \
  -H 'x-fapi-auth-date: Sun, 10 Sep 2017 19:43:31 GMT' \
  -H 'x-fapi-interaction-id: 93bac548-d2de-4546-b106-880a5018460e' \
  -H 'x-idempotency-key: FRESCO.21302.GFX.24' \
  -H 'x-jws-signature: TGlmZSdzIGEgam91cm5leSBub3QgYSBkZXN0aW5hdGlvbiA=..T2ggZ29vZCBldmVuaW5nIG1yIHR5bGVyIGdvaW5nIGRvd24gPw==' \
  -d '{
  "Data": {
    "ReadRefundAccount": "Yes",
    "Initiation": {
      "InstructionIdentification": "International",
      "EndToEndIdentification": "FRESCO.21302.GFX.20",
      "InstructionPriority": "Normal",
      "LocalInstrument": "UK.OBIE.SWIFT",
      "CurrencyOfTransfer": "HRK",
      "ChargeBearer": "Shared",
      "InstructedAmount": {
        "Amount": "910.22",
        "Currency": "HRK",
      },
      "ExchangeRateInformation": {
        "UnitCurrency": "GBP",
        "RateType": "Actual"
      },
      "Creditor": {
        "Name": "test",
        "PostalAddress": {
          "AddressType": "Business",
          "Department": "ABC",
          "SubDepartment": "DEF",
          "StreetName": "Test Street",
          "BuildingNumber": "Test Bldg Number",
          "PostCode": "Test Code",
          "TownName": "Test Town",
          "Country": "HR",
          "AddressLine": [
            "Flat 7",
            "Acacia Lodge"
          ]
        }
      },
      "RemittanceInformation": {
        "Unstructured": "Internal ops code 5120101",
        "Reference": "FRESCO-101"
      },
      "CreditorAgent": {
        "SchemeName": “UK.OBIE.BICFI”,
        "Identification": "NBHRHR2XXXX",
        "Name": "test User",
        "PostalAddress": {
          "AddressType": "Business",
          "Department": "ABC",
          "SubDepartment": "DEF",
          "StreetName": "Test Street",
          "BuildingNumber": "Test Bldg Number",
          "PostCode": "Test Code",
          "TownName": "Test Town",
          "Country": "HR",
          "AddressLine": [
            "Flat 7",
            "Acacia Lodge"
          ]
        }
      },
      "CreditorAccount": {
        "SchemeName": "UK.OBIE.IBAN",
        "Identification": "HR1210010051863000160",
        "Name": "Test user",
        "SecondaryIdentification": "2"
      }
    },
    "Authorisation": {
      "AuthorisationType": "Any",
    }
  },
  "Risk": {
    "PaymentContextCode": "PartyToParty",
    "MerchantCategoryCode": "5967",
    "MerchantCustomerIdentification": "053598653254",
    "DeliveryAddress": {
      "StreetName": "AcaciaAvenue",
      "BuildingNumber": "27",
      "PostCode": "7U31 2ZZ",
      "TownName": "Sparsholt",
      "Country": "HR",
      "AddressLine": [
        "Flat 7",
        "Acacia Lodge"
      ]
    }
  }
}'

POST response: international payment consents

HTTP/1.1 201 Created

x-jws-signature: eyJiNjQiOmZhbHNlLCJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCI6MTU0MzU1ODIwOSwiY3JpdCI6WyJiNjQsaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pYXQsaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pc3MiXSwia2lkIjoieGwxNkJEeHc1N0pOLTNQdHZybXlBLXpXVGdNIiwiY3R5IjoiYXBwbGljYXRpb25cL2pzb24iLCJ0eXAiOiJKT1NFIiwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pc3MiOiJDTj02ZGkyRGU4OHM4RDJ6VlhneXhtMGIyLE9VPVRlc3QgUEtJLE89T3BlbiBCYW5raW5nIExpbWl0ZWQsQz1HQiIsImFsZyI6IlJTMjU2In0..UzSO4Yw97FrpdpoxwOWqYPpi3kftH-wMclXXhh-2jpJc3hqPzQFkgyovr3uciTUGClY88DknV-ZwhyO3DJitboEX6su8K1REbLbtnX22EXmj1LIw9WYNYSmmf2D5TobHSzRvIsToUg-Tn2v7tl6asmjGYh1HUBF4JUUwgcrBiwlUBELNT_wlpXMe5lDpAcpDnXHYkvR2bZkcu995BEu31rCn4QppTxU7Aq82c0XuRsiOABuGExYbJWh55cSlVCBXt7ZKlGTf2ypXTFeeoDK48-ves6bOJYoTKQ8ywMkJf38tgtDsXdIpbwFT3rBTB6_N70F_DgM-dvCGj2jvS0PB9A
x-fapi-interaction-id: 93bac548-d2de-4546-b106-880a5018460e
Content-Type: application/json

{
    "Data": {
        "ReadRefundAccount": "Yes",
        "ConsentId": "d4f92364-e27f-4c9f-b583-89a84bdf1b47",
        "CreationDateTime": "2019-02-06T10:52:50+00:00",
        "Status": "AwaitingAuthorisation",
        "StatusUpdateDateTime": "2019-02-06T10:52:50+00:00",

        "Initiation": {
            "InstructionIdentification": "International",
            "EndToEndIdentification": "FRESCO.21302.GFX.20",
            "InstructionPriority": "Normal",
            "LocalInstrument": "UK.OBIE.SWIFT",
            "ChargeBearer": "Shared",
            "CurrencyOfTransfer": "HRK",
            "InstructedAmount": {
                "Amount": "910.22",
                "Currency": "HRK",
            },
            "ExchangeRateInformation": {
                "UnitCurrency": "GBP",
                "RateType": "Actual"
            },
            "Creditor": {
                "Name": "test",
                "PostalAddress": {
                    "AddressType": "Business",
                    "Department": "ABC",
                    "SubDepartment": "DEF",
                    "StreetName": "Test Street",
                    "BuildingNumber": "Test Bldg Number",
                    "PostCode": "Test Code",
                    "TownName": "Test Town",
                    "Country": "HR",
                    "AddressLine": [
                        "Flat 7",
                        "Acacia Lodge"
                    ]
                }
            },
            "CreditorAgent": {
                "SchemeName": “UK.OBIE.BICFI”,
                "Identification": "NBHRHR2XXXX",
                "Name": "test User",
                "PostalAddress": {
                    "AddressType": "Business",
                    "Department": "ABC",
                    "SubDepartment": "DEF",
                    "StreetName": "Test Street",
                    "BuildingNumber": "Test Bldg Number",
                    "PostCode": "Test Code",
                    "TownName": "Test Town",
                    "Country": "HR",
                    "AddressLine": [
                        "Flat 7",
                        "Acacia Lodge"
                    ]
                }
            },
            "CreditorAccount": {
                "SchemeName": "UK.OBIE.IBAN",
                "Identification": "HR1210010051863000160",
                "Name": "Test user",
                "SecondaryIdentification": "2"
            },
            "RemittanceInformation": {
                "Unstructured": "Internal ops code 5120101",
                "Reference": "FRESCO-101"
            }
        },
        "Authorisation": {
            "AuthorisationType": "Any",
        }
    },
    "Risk": {
        "PaymentContextCode": "PartyToParty",
        "MerchantCategoryCode": "5967",
        "MerchantCustomerIdentification": "053598653254",
        "DeliveryAddress": {
            "AddressLine": [
                "Flat 7",
                "Acacia Lodge"
            ],
            "StreetName": "AcaciaAvenue",
            "BuildingNumber": "27",
            "PostCode": "7U31 2ZZ",
            "TownName": "Sparsholt",
            "Country": "HR",
        }
    },
    "Links": {
        "Self": "https://api-sandbox.bankofireland.com/1/api/open-banking/v3.0/pisp/international-payment-consents/d4f92364-e27f-4c9f-b583-89a84bdf1b47"
    },
}

GET request: international payment consents

A PISP can optionally retrieve a payment consent resource that they have created to check its status. The available status codes for the international payment consent resource are:

Status Description
AwaitingAuthorisation Before the PSU authorises the payment consent resource
Rejected If the PSU rejects the consent or the international payment consent has failed some other ASPSP validation
Authorised Once the PSU authorises the paymentconsent resource
Consumed Once an international-payment has been successfully created using the international payment consent
GET /international-payment-consents/40eb0d07-2b8e-486e-b9a4-0e5404a1bd8a HTTP/1.1

curl -X GET \
  https://api-sandbox.bankofireland.com/1/api/open-banking/v3.1.8/pisp/international-payment-consents/d4f92364-e27f-4c9f-b583-89a84bdf1b47 \
  -H 'Authorization: Bearer JDosEEzJE0sJ15Wi01PEBJQGYpaB' \
  -H 'Content-Type: application/json' \
  -H 'x-fapi-customer-ip-address: 104.25.212.99' \
  -H 'x-fapi-auth-date: Sun, 10 Sep 2017 19:43:31 GMT' \
  -H 'x-fapi-interaction-id: 93bac548-d2de-4546-b106-880a5018460e' \
  -H 'x-idempotency-key: FRESCO.21302.GFX.20' \

GET response: international-payment-consents

HTTP/1.1 200 OK
x-jws-signature: eyJiNjQiOmZhbHNlLCJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCI6MTU0MzU1ODU4MCwiY3JpdCI6WyJiNjQsaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pYXQsaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pc3MiXSwia2lkIjoieGwxNkJEeHc1N0pOLTNQdHZybXlBLXpXVGdNIiwiY3R5IjoiYXBwbGljYXRpb25cL2pzb24iLCJ0eXAiOiJKT1NFIiwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pc3MiOiJDTj02ZGkyRGU4OHM4RDJ6VlhneXhtMGIyLE9VPVRlc3QgUEtJLE89T3BlbiBCYW5raW5nIExpbWl0ZWQsQz1HQiIsImFsZyI6IlJTMjU2In0..S9-ZingkHVC0WgDujBxQmztpuI-Fbr-qCYZU7iqGuYWADXMDPhP4_XO_tb5geTGdAT6JADDM9LaOG0J038ax1nPvT0MZMKYJ7mW7eiX8ZKtcwPWFMVlJLvYhG0lYSEJwNcuV0nkQQjVeqeCjiLM8CqkTmfVgdOdayAQgGgMEkxGRKsvX3ED8JWmqHuiiDlH-jrMjK-YtLf_QlUHV_WN-mHSywXJIJHpZFLMUO2bL59QgMcyIl5UuGJBPQCmpvAEGcHQSKGbOIJfJCAYyZREhs9ZoLbqIClJ7eUAbZO8h70u6aah2_pb0pv-b-yDSODb_Twot6_phQ-zOJI32RK87yg
x-fapi-interaction-id: 93bac548-d2de-4546-b106-880a5018460e
Content-Type: application/json
{
    "Data": {
        "ConsentId": "d4f92364-e27f-4c9f-b583-89a84bdf1b47",
        "CreationDateTime": "2019-02-06T10:52:50+00:00",
        "Status": "Authorised",
        "StatusUpdateDateTime": "2019-02-06T10:52:50+00:00",
        “ReadRefundAccount”: “Yes”
        "Charges": [
            {
                "ChargeBearer": "Shared",
                "Type": "UK.OBIE.INTERNATIONALPAYMENTOUT",
                "Amount": {
                    "Amount": "15.00",
                    "Currency": "GBP"
                }
            }
        ],
        "ExchangeRateInformation": {
            "UnitCurrency": "GBP",
            "ExchangeRate": 1.2,
            "RateType": "Actual",
            "ExpirationDateTime": "2019-02-06T11:02:50+00:00"
        },
        "Initiation": {
            "InstructionIdentification": "International",
            "EndToEndIdentification": "FRESCO.21302.GFX.20",
            "InstructionPriority": "Normal",
            "LocalInstrument": "UK.OBIE.SWIFT",
            "ChargeBearer": "Shared",
            "CurrencyOfTransfer": “HRK”,
            "InstructedAmount": {
                "Amount": "910.22",
                "Currency": “HRK”,
            },
            "ExchangeRateInformation": {
                "UnitCurrency": "GBP",
                "RateType": "Actual"
            },
            "Creditor": {
                "Name": "test",
                "PostalAddress": {
                    "AddressType": "Business",
                    "Department": "ABC",
                    "SubDepartment": "DEF",
                    "StreetName": "Test Street",
                    "BuildingNumber": "Test Bldg Number",
                    "PostCode": "Test Code",
                    "TownName": "Test Town",
                    "Country": "HR",
                    "AddressLine": [
                        "Flat 7",
                        "Acacia Lodge"
                    ]
                }
            },
            "CreditorAgent": {
                "SchemeName": “UK.OBIE.BICFI”,
                "Identification": "NBHRHR2XXXX",
                "Name": "test User",
                "PostalAddress": {
                    "AddressType": "Business",
                    "Department": "ABC",
                    "SubDepartment": "DEF",
                    "StreetName": "Test Street",
                    "BuildingNumber": "Test Bldg Number",
                    "PostCode": "Test Code",
                    "TownName": "Test Town",
                    "Country": "HR",
                    "AddressLine": [
                        "Flat 7",
                        "Acacia Lodge"
                    ]
                }
            },
            "CreditorAccount": {
                "SchemeName": "UK.OBIE.IBAN",
                "Identification": "HR1210010051863000160",
                "Name": "Test user",
                "SecondaryIdentification": "2"
            },
            "RemittanceInformation": {
                "Unstructured": "Internal ops code 5120101",
                "Reference": "FRESCO-101"
            }
        },
        "Authorisation": {
            "AuthorisationType": "Any",
        }
    },
    "Risk": {
        "PaymentContextCode": "PartyToParty",
        "MerchantCategoryCode": "5967",
        "MerchantCustomerIdentification": "053598653254",
        "DeliveryAddress": {
            "AddressLine": [
                "Flat 7",
                "Acacia Lodge"
            ],
            "StreetName": "AcaciaAvenue",
            "BuildingNumber": "27",
            "PostCode": "7U31 2ZZ",
            "TownName": "Sparsholt",
            "Country": "HR"
        }
    },
    "Links": {
        "Self": "https://api-sandbox.bankofireland.com/1/api/open-banking/v3.0/pisp/international-payment-consents/d4f92364-e27f-4c9f-b583-89a84bdf1b47"
    },
}

Get Request: Confirm Funds on International Payment Order Consent

GET /international-payment-consents/58923/funds-confirmation HTTP/1.1
Authorization: Bearer Jhingapulaav
x-fapi-auth-date: Sun, 10 Sep 2017 19:43:31 GMT
x-fapi-customer-ip-address: 104.25.212.99
x-fapi-interaction-id: 93bac548-d2de-4546-b106-880a5018460d
Accept: application/json

Get Response: Confirm Funds on International Payment Order Consent

HTTP/1.1 200 OK
x-jws-signature: V2hhdCB3ZSBnb3QgaGVyZQ0K..aXMgZmFpbHVyZSB0byBjb21tdW5pY2F0ZQ0K
x-fapi-interaction-id: 93bac548-d2de-4546-b106-880a5018460d
Content-Type: application/json
{
    "Data": {
        "FundsAvailableResult": {
            "FundsAvailableDateTime": "2017-06-05T15:15:23+00:00",
            "FundsAvailable": true
        }
    },
    "Links": {
        "Self": "https://api.alphabank.com/open-banking/v3.1/pisp/international-payment-consents/58923/funds-confirmation"
    },
    "Meta": {}
}

International scheduled payment consents API

Following examples cater to Business Online journeys.

POST request:international scheduled payment consents

POST /international-scheduled-payment-consents HTTP/1.1

curl -X POST \
  https://api-sandbox.bankofireland.com/1/api/open-banking/v3.1.8/pisp/international-scheduled-payment-consents \
  -H 'Authorization: Bearer JDosEEzJE0sJ15Wi01PEBJQGYpaB' \
  -H 'Content-Type: application/json' \
  -H 'x-fapi-customer-ip-address: 104.25.212.99' \
  -H x-fapi-auth-date: Sun, 10 Sep 2017 19:43:31 GMT' \
  -H 'x-fapi-interaction-id: 93bac548-d2de-4546-b106-880a5018460e' \
  -H 'x-idempotency-key: FRESCO.21302.GFX.24' \
  -H 'x-jws-signature: TGlmZSdzIGEgam91cm5leSBub3QgYSBkZXN0aW5hdGlvbiA=..T2ggZ29vZCBldmVuaW5nIG1yIHR5bGVyIGdvaW5nIGRvd24gPw==' \
  -d '{
  "Data": {
    "Permission": "Create",
    "ReadRefundAccount": "Yes",
    "Initiation": {
      "InstructionIdentification": "ACME412331",
      "LocalInstrument": "UK.OBIE.SWIFT",
      "InstructionPriority": "Normal",
      "ChargeBearer": "Shared",
      "RequestedExecutionDateTime": "2019-02-10T05:00:00Z",
      "CurrencyOfTransfer": "HRK",
      "InstructedAmount": {
        "Amount": "300.00",
        "Currency": "HRK",
      },
      "ExchangeRateInformation": {
        "UnitCurrency": "GBP",
        "RateType": "Indicative",
      },
      "Creditor": {
        "Name": "NameTest",
        "PostalAddress": {
          "AddressType": "Business",
          "Department": "ABC",
          "SubDepartment": "DEF",
          "StreetName": "Test Street",
          "BuildingNumber": "Test Bldg Number",
          "PostCode": "Test Code",
          "TownName": "Test Town",
          "Country": "HR",
          "AddressLine": []
        }
      },
      "CreditorAccount": {
        "SchemeName": "UK.OBIE.IBAN",
        "Identification": "HR1210010051863000160",
        "Name": "ACME Inc",
        "SecondaryIdentification": "ee"
      },
      "CreditorAgent": {
        "SchemeName": "UK.OBIE.BICFI",
        "Identification": "NBHRHR2XXXX",
        "Name": "Test",
        "PostalAddress": {
          "AddressType": "Residential",
          "Department": "ABC",
          "SubDepartment": "DEF",
          "StreetName": "Test Street",
          "BuildingNumber": "Test Bldg Number",
          "PostCode": "Test Code",
          "TownName": "Test",
          "Country": "HR",
          "AddressLine": [
            "Test2",
            "Test3",
            "Test4"
          ]
        }
      },
      "RemittanceInformation": {
        "Reference": "FRESCO-101",
        "Unstructured": "Internal ops code 5120101"
      }
    },
    "Authorisation": {
      "AuthorisationType": "Any",
    }
  },
  "Risk": {
    "PaymentContextCode": "PartyToParty",
    "MerchantCategoryCode": "0222",
    "MerchantCustomerIdentification": "Test",
    "DeliveryAddress": {
      "AddressLine": [
        "Test",
        "Acacia Lodge"
      ],
      "StreetName": "AcaciaAvenue",
      "BuildingNumber": "27",
      "PostCode": "7U31 2ZZ",
      "TownName": "Test",
      "Country": "HR",
    }
  }
}'

This API endpoint allows the PISP to ask BOI to create a new international scheduled payment consents resource and the API responds with a unique Consent ID to refer to the resource. Note - The ExchangeRate and Charges block under Data block will be returned only if the Consent Status is "Authorised" or "Consumed".

POST response: international scheduled payment consents


x-jws-signature: eyJiNjQiOmZhbHNlLCJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCI6MTU0MzU1ODIwOSwiY3JpdCI6WyJiNjQsaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pYXQsaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pc3MiXSwia2lkIjoieGwxNkJEeHc1N0pOLTNQdHZybXlBLXpXVGdNIiwiY3R5IjoiYXBwbGljYXRpb25cL2pzb24iLCJ0eXAiOiJKT1NFIiwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pc3MiOiJDTj02ZGkyRGU4OHM4RDJ6VlhneXhtMGIyLE9VPVRlc3QgUEtJLE89T3BlbiBCYW5raW5nIExpbWl0ZWQsQz1HQiIsImFsZyI6IlJTMjU2In0..UzSO4Yw97FrpdpoxwOWqYPpi3kftH-wMclXXhh-2jpJc3hqPzQFkgyovr3uciTUGClY88DknV-ZwhyO3DJitboEX6su8K1REbLbtnX22EXmj1LIw9WYNYSmmf2D5TobHSzRvIsToUg-Tn2v7tl6asmjGYh1HUBF4JUUwgcrBiwlUBELNT_wlpXMe5lDpAcpDnXHYkvR2bZkcu995BEu31rCn4QppTxU7Aq82c0XuRsiOABuGExYbJWh55cSlVCBXt7ZKlGTf2ypXTFeeoDK48-ves6bOJYoTKQ8ywMkJf38tgtDsXdIpbwFT3rBTB6_N70F_DgM-dvCGj2jvS0PB9A
x-fapi-interaction-id: 93bac548-d2de-4546-b106-880a5018460e
Content-Type: application/json

{
    "Data": {
        "ConsentId": "20ae99ae-7a47-4e8a-a117-adf3199d8a1e",
        "CreationDateTime": "2019-02-06T13:12:33+00:00",
        "Status": "AwaitingAuthorisation",
        "StatusUpdateDateTime": "2019-02-06T13:12:33+00:00",
        "Permission": "Create",
        "ReadRefundAccount": "Yes",

        "Initiation": {
            "InstructionIdentification": "ACME412331",
            "LocalInstrument": “UK.OBIE.SWIFT”,
            "InstructionPriority": "Normal",
            "RequestedExecutionDateTime": "2019-02-10T05:00:00Z",
            "CurrencyOfTransfer": "HRK",
            "InstructedAmount": {
                "Amount": "300.00",
                "Currency": "HRK",
            },
            "ExchangeRateInformation": {
                "UnitCurrency": "GBP",
                "RateType": "Indicative",
            },
            "CreditorAgent": {
                "SchemeName": "UK.OBIE.BICFI",
                "Identification": "NBHRHR2XXXX",
                "Name": "Test",
                "PostalAddress": {
                    "AddressType": "Residential",
                    "Department": "ABC",
                    "SubDepartment": "DEF",
                    "StreetName": "Test Street",
                    "BuildingNumber": "Test Bldg Number",
                    "PostCode": "Test Code",
                    "TownName": "Test",
                    "Country": "HR",
                    "AddressLine": [
                        "Test2",
                        "Test3",
                        "Test4"
                    ]
                }
            },
            "CreditorAccount": {
                "SchemeName": "UK.OBIE.IBAN",
                "Identification": "HR1210010051863000160",
                "Name": "ACME Inc",
                "SecondaryIdentification": "ee"
            },
            "RemittanceInformation": {
                "Unstructured": "Internal ops code 5120101",
                "Reference": "FRESCO-101"
            }
        },
        "Authorisation": {
            "AuthorisationType": "Any",
        }
    },
    "Risk": {
        "PaymentContextCode": "PartyToParty",
        "MerchantCategoryCode": "0222",
        "MerchantCustomerIdentification": "Test",
        "DeliveryAddress": {
            "AddressLine": [
                "Test",
                "Acacia Lodge"
            ],
            "StreetName": "AcaciaAvenue",
            "BuildingNumber": "27",
            "PostCode": "7U31 2ZZ",
            "TownName": "Test",
            "Country": "HR",
        }
    },
    "Links": {
        "Self": "https://api-sandbox.bankofireland.com/1/api/open-banking/v3.0/pisp/international-scheduled-payment-consents/20ae99ae-7a47-4e8a-a117-adf3199d8a1e"
    },
}

File payment consents API

POST request:file payment consents

This API endpoint allows the PISP to ask BOI to create a new file payment consent resource. The API endpoint allows the PISP to upload a file onto BOI against a file payment consent resource. BOI accepts XML and STD18 format for the files. The supported file types are:

  • IE.BOI.PAIN.001.001.03 (ROI)
  • UK.BOI.STD18(UK)
curl -X POST \
  https://api-sandbox.bankofireland.com/1/api/open-banking/v3.1.8/pisp/file-payment-consents \
  -H 'Authorization: Bearer jplwuoVyzqRi4UIzB2xvT0b3cGBy' \
  -H 'Content-Type: application/json' \
  -H 'Postman-Token: a7efd838-a81f-433f-8d5b-b01888e9ca32' \
  -H 'cache-control: no-cache' \
  -H ‘x-fapi-auth-date: Sun, 10 Sep 2017 19:43:31 UTC
  -H ‘x-fapi-customer-ip-address: 104.25.212.99' \
  -H ‘x-fapi-interaction-id: 93bac548-d2de-4546-b106-880a5018460e' \
  -H ‘Accept: application/json’
  -H 'x-idempotency-key: FRESCO.21302.GFX.20' \
  -H 'x-jws-signature: eyJiNjQiOmZhbHNlLCJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCI6MTU0OTQ0NzQzMiwiY3JpdCI6WyJiNjQiLCJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCIsImh0dHA6XC9cL29wZW5iYW5raW5nLm9yZy51a1wvaXNzIl0sImtpZCI6IkNiRnhjLVRFbkNTRmMwcnhsMGN6TldTZXlwSSIsImN0eSI6ImFwcGxpY2F0aW9uXC9qc29uIiwidHlwIjoiSk9TRSIsImh0dHA6XC9cL29wZW5iYW5raW5nLm9yZy51a1wvaXNzIjoiQ049MWlKRmdVS3ZiSFdmVzFnN1FQOG4zNSxPVT0wMDE1ODAwMDAwamZROWFBQUUsTz1PcGVuQmFua2luZyxDPUdCIiwiYWxnIjoiUlMyNTYifQ..pdAgI6rYCIqRwqJPznSaQ0g6cq-oXzcM5eOcxHauB5z_aQGmvXqOVAsncj7pKd1_P-OOhxY_K0gRfBIvOn9uXkOgV12Gkne8PxDsNY_fC8py_nXI-YKA87l3tlI2uHETAJRnhdPRPE2EytfgPEkEtL6w8vLS5cTBneOkKMPYI-50K-4XH1ZDJqIy1G8JwSD6vZtZFi97_By-U4QSm53Lw3vJFIi2q0kV0cdV0u0FXyIEPZiBvYkJ_OF9ErerT3y6eE_zstIvTSb_7LndVV1npzxf6WSGtW7hYklu2n9dKc9YQNF4RggEAMFJIPbqMJTMkhNak2_MFiI2Wphb39FKbg' \
  -d '{
  "Data": {
    "Initiation": {
      "FileType": "UK.OBIE.pain.001.001.08",
      "FileHash": "CCiFOEK4V/cU/z0wNKs4MC1ElwBf0qQf23qVzNC/tHU=",
      "FileReference": "GB2OK238",
      "NumberOfTransactions": "101",
      "ControlSum": 444.0,
      "RequestedExecutionDateTime": "2019-12-30T18:00:00-06:00",
      "LocalInstrument": "UK.OBIE.BACS",
      "RemittanceInformation": {
        "Reference": "FRESCO-101",
        "Unstructured": "Internal ops code 5120101"
      }
    },
    "Authorisation": {
      "AuthorisationType": "Any",
    }
  }
}'

POST response: /file payment consents

{
    "Data": {
        "ConsentId": "8cab7d3b-f759-4e65-847c-b1006d393be1",
        "CreationDateTime": "2019-02-06T13:22:36+00:00",
        "Status": "AwaitingUpload",
        "StatusUpdateDateTime": "2019-02-06T13:22:36+00:00",
        "Initiation": {
            "FileType": "UK.OBIE.pain.001.001.08",
            "FileHash": "CCiFOEK4V/cU/z0wNKs4MC1ElwBf0qQf23qVzNC/tHU=",
            "FileReference": "GB2OK238",
            "NumberOfTransactions": "101",
            "ControlSum": 444,
            "RequestedExecutionDateTime": "2019-12-30T18:00:00-06:00",
            "LocalInstrument": "UK.OBIE.BACS",
            "RemittanceInformation": {
                "Unstructured": "Internal ops code 5120101",
                "Reference": "FRESCO-101"
            }
        },
        "Authorisation": {
            "AuthorisationType": "Any",
        }
    },
    "Links": {
        "Self": "https://api-sandbox.bankofireland.com/1/api/open-banking/v3.1.8/pisp/file-payment-consents/8cab7d3b-f759-4e65-847c-b1006d393be1"
    },
    "Meta": {}
}

POST request: /file-payment consents/{ConsentId}/file

Value of header Content-Type based on the file type:
1. For PAIN.001 XML file - ‘text/xml’
2. For STD18 file – ‘text/plain’

curl -X POST \
  https://api-sandbox.bankofireland.com/1/api/open-banking/v3.1.8/pisp/file-payment-consents/8cab7d3b-f759-4e65-847c-b1006d393be1/file \
  -H 'Authorization: Bearer jplwuoVyzqRi4UIzB2xvT0b3cGBy' \
  -H 'Content-Type: text/xml’ \
  -H 'Postman-Token: 3b1a7ad4-25b9-4be0-b315-92a417d6a482' \
  -H 'cache-control: no-cache' \
  -H 'content-type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW' \
  -H ‘x-fapi-auth-date’: Sun, 10 Sep 2017 19:43:31 UTC
  -H ‘x-fapi-customer-ip-address: 104.25.212.99' \
  -H ‘x-fapi-interaction-id: 93bac548-d2de-4546-b106-880a5018460e' \
  -H ‘Accept: application/json’
  -H 'x-idempotency-key: FRESCO.21302.GFX.21' \
  -H 'x-jws-signature: eyJiNjQiOmZhbHNlLCJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCI6MTU0OTI2MTQwNSwiY3JpdCI6WyJiNjQiLCJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCIsImh0dHA6XC9cL29wZW5iYW5raW5nLm9yZy51a1wvaXNzIl0sImtpZCI6IkNiRnhjLVRFbkNTRmMwcnhsMGN6TldTZXlwSSIsImN0eSI6ImFwcGxpY2F0aW9uXC9qc29uIiwidHlwIjoiSk9TRSIsImh0dHA6XC9cL29wZW5iYW5raW5nLm9yZy51a1wvaXNzIjoiQ049MWlKRmdVS3ZiSFdmVzFnN1FQOG4zNSxPVT0wMDE1ODAwMDAwamZROWFBQUUsTz1PcGVuQmFua2luZyxDPUdCIiwiYWxnIjoiUlMyNTYifQ..hSYgnvUB1CGCj7USo6fFonRO13iL9Wj3q2z6MRpVXFwtdKgXCrZmW1w60oy1qyFtT6zW4-WOf9tC0ikarMwPcgy6kn2A-7dV8tYMreoz3E-cHY7YrNl3koX2acFJm5Ljx9CLzWYVl85XMoqRIF9IKoz7zm3UHCJf8ty7lTfEM1vZEx7T7QDG7YoRRBllDxlksX2SNaIYBk-ND1OBkWGr5v17WLRL4YgWJeFdgq-ZFIVDNJaUlvccYKrp6IYSm2W-SWSq548YW7MWxzRe2aq7rmcS6RsH-lvyqujjcSdal9q6uXua4BD19iqVSNU28dxUCBgr_zd8v9kTy-gOVce14w' \

[File –Data]
<?xml version="1.0" encoding="UTF-8"?>

U52019AUTO144 2021-07-09T09:15:23.932Z 1 10 BO_me2 220440 PMTINFID1220 TRF true 1 10 NORM SEPA EPAY 2021-07-09 DB01 IE43BOFI90159797017815 NOTPROVIDED SLEV INSID23420 E2EID2320 10 CD01 BOFIIE2D IE47BOFI90126312660908 USER001

POST response: /file payment consents/{ConsentId}/file

200 OK

GET /file-payment-consents/{ConsentId} request

A PISP can retrieve a file payment consents resource that they have created to check its status.

curl -X GET \
  https://api-sandbox.bankofireland.com/1/api/open-banking/v3.0/pisp/file-payment-consents/8cab7d3b-f759-4e65-847c-b1006d393be1 \
  -H 'Authorization: Bearer jplwuoVyzqRi4UIzB2xvT0b3cGBy' \
  -H 'Content-Type: application/json' \
  -H 'Postman-Token: 45abbba4-c0dc-45b7-8a36-2f4e2c094dbd' \
  -H 'cache-control: no-cache' \
  -H 'x-idempotency-key: 3453423' \

GET /file-payment-consents/{ConsentId} response

{
  "Data": {
      "ConsentId": "8cab7d3b-f759-4e65-847c-b1006d393be1",
      "CreationDateTime": "2019-02-06T13:22:36+00:00",
      "Status": "Consumed",
      "StatusUpdateDateTime": "2019-02-06T13:31:12+00:00",
      "Initiation": {
          "FileType": "UK.OBIE.pain.001.001.08",
          "FileHash": "CCiFOEK4V/cU/z0wNKs4MC1ElwBf0qQf23qVzNC/tHU=",
          "FileReference": "GB2OK238",
          "NumberOfTransactions": "101",
          "ControlSum": 444,
          "RequestedExecutionDateTime": "2019-12-30T18:00:00-06:00",
          "LocalInstrument": "UK.OBIE.BACS",
          "RemittanceInformation": {
              "Unstructured": "Internal ops code 5120101",
              "Reference": "FRESCO-101"
          }
      },
      "Authorisation": {
          "AuthorisationType": "Any",
      }
  },
  "Links": {
      "Self": "https://api-sandbox.bankofireland.com/1/api/open-banking/v3.0/pisp/file-payment-consents/8cab7d3b-f759-4e65-847c-b1006d393be1"
  },
  "Meta": {}
}

Reviews